import { Routes, RouterModule }  from '@angular/router';
import {WeibaoComponent} from "./weibao.component";
import {WeibaoDetailComponent} from "./weibao-detail/weibao-detail.component";
import {WeibaoConfirmComponent} from "./weibao-confirm/weibao-confirm.component";

const routes:Routes = [
  { path: '', component: WeibaoComponent },
  { path: 'weibaodetail/:weibaoId', component: WeibaoDetailComponent },
  { path: 'querenweibao/:weibaoId', component: WeibaoConfirmComponent }
];

export const WeibaoRoute = RouterModule.forChild(routes);
